-
Notifications
You must be signed in to change notification settings - Fork 127
RSDK-12160 Remove audio input component type #5616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!
|
hexbabe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Removing opus sounds great
gostream/stream.go
Outdated
| if config.VideoEncoderFactory == nil && config.AudioEncoderFactory == nil { | ||
| return nil, errors.New("at least one audio or video encoder factory must be set") | ||
| if config.VideoEncoderFactory == nil { | ||
| return nil, errors.New("at least one video encoder factory must be set") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can there be multiple factories?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know much about gostream but from this error message I assume yes, @seanavery or @hexbabe may know more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, we should probably change this error message to "a video encoder factory must be set"
The original error is basically saying "at least one of audio or video encoder factory must be set"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it thanks for clarifying, changing the error message
pun intended? :) |
seanavery
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Love the red diffs!
SebastianMunozP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Removes audioinput type, replacing it with audioin type in all instances. Also removing audio from stream server since it is no longer being used.